﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： NoticeEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-10-11
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///公告数据实体  
	/// </summary>
    [PrimaryKey("NoticeID")]
	public class Notice
	{
		///<summary>
		///公告
		///</summary>
		public Notice()
		{
		}


        ///<summary>
        ///公告内容
        ///</summary>
        [Column("Comment","")]
        public string Comment { get; set; }

        ///<summary>
        ///范围(1:所有群 2:特定群)
        ///</summary>
        [Column("ShowRange","")]
        public int ShowRange { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CarGroupID","")]
        public int CarGroupID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("GroupLink","")]
        public string GroupLink { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreateDate","")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreateUserID","")]
        public int CreateUserID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UpdateDate","")]
        public DateTime UpdateDate { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UpdateUserID","")]
        public int UpdateUserID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("IsActive","")]
        public int IsActive { get; set; }

		///<summary>
		///
		///</summary>
        [Column("NoticeID","")]
        public int NoticeID { get; set; }

        /// <summary>
        /// 公告详情
        /// </summary>
        [Column("NoticeDetail", "公告详情")]
        public string NoticeDetail { get; set; }
        /// <summary>
        /// 公告图片Url
        /// </summary>
        [Column("NoticeImgUrl", "公告图片Url")]
        public string NoticeImgUrl { get; set; }

    }
}